﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CustomModel
{
    /// <summary>
    /// json发送/接收模型
    /// </summary>
    /// <typeparam name="T"></typeparam>
   public  class JsonModel<T> where T:class,new()
    {
        public T Entity { get; set; }
        public int Code { get; set; } = 1;

        public bool State { get; set; } = true;

        public string Summary { get; set; } = "ok";
    }
}
